From cd63fb7d39491f917cf65c77d33f465de2e2dbda Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sun, 25 Jun 2023 13:24:26 +0100 Subject: Write globals to symbol table --- ...org.shedlang.compiler.testing.snapshots.Snapshotter)].expected | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithGlobals(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected') diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithGlobals(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithGlobals(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected index db3a53e3..4ff3e2f4 100644 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithGlobals(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithGlobals(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected @@ -4,12 +4,14 @@ module.wasm: file format wasm 0x1 Section Details: Global[2]: - - global[0] i32 mutable=1 - init i32=7 - - global[1] i64 mutable=0 - init i64=9 + - global[0] i32 mutable=1 - init i32=7 + - global[1] i64 mutable=0 - init i64=9 Custom: - name: "name" Custom: - name: "linking" - - symbol table [count=0] + - symbol table [count=2] + - 0: G global=0 [ binding=global vis=default ] + - 1: G global=1 [ binding=global vis=default ] Code Disassembly: -- cgit v1.2.3